package com.gdit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author fgba
 * @since 2021-09-07
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ClassTime {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 课程id
     */
    private String courseId;

    /**
     * 周上课时间，如周一
     */
    private String weekDay;

    /**
     * 开始时间，如8:10:00
     */
    private LocalTime startTime;

    /**
     * 结束时间，如8:55:00
     */
    private LocalTime endTime;


}
